<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">

<head>
    <div data-th-replace="layout/head-top"></div>
</head>
<body>
<div class="m-t-lg">
    <dl class="dl-horizontal">
        <dt>分类名称：</dt>
        <dd class="m-r"><span class="fs12 c-4e" th:text="${qaType['typeName']}"></span></dd>
    </dl>
    <div class="hr-line-dashed"></div>
    <dl class="dl-horizontal">
        <dt>分类图标：</dt>
        <dd class="m-r">
            <div class="clearfix">
                <div class="file-box">
                    <div class="file">
                        <div class="image">
                            <img alt="image" class="img-responsive" th:src="${qaType['imageMap']['pcUrlMap']['large']}">
                        </div>
                        <div class="file-name">
                            <p id="file-names" th:text="${qaType['imageMap']['fileName']}"></p>
                            <small id="create-time" th:text="'上传时间：' + ${qaType['imageMap']['createTime']}"></small>
                        </div>
                    </div>
                </div>
            </div>
        </dd>
    </dl>
    <div class="hr-line-dashed"></div>
    <dl class="dl-horizontal">
        <dt>分类描述：</dt>
        <dd class="m-r"><span class="fs12 c-4e" th:text="${qaType['depict']}"></span></dd>
    </dl>
    <div class="hr-line-dashed"></div>
    <dl class="dl-horizontal">
        <dt>创建时间：</dt>
        <dd class="m-r">
            <span class="fs12 c-4e" th:text="${#strings.substring(qaType['createTime'],0,16)}"></span>
        </dd>
    </dl>
    <div class="hr-line-dashed"></div>
    <dl class="dl-horizontal">
        <dt>讲师数量：</dt>
        <dd class="m-r">
            <span class="fs12 c-4e" th:text="${qaType['teacherNum']}"></span>
        </dd>
    </dl>
    <div class="hr-line-dashed"></div>
    <dl class="dl-horizontal">
        <dt>问题数量：</dt>
        <dd class="m-r">
            <span class="fs12 c-4e" th:text="${qaType['questionNum']}"></span>
        </dd>
    </dl>
    <div class="hr-line-dashed"></div>
    <dl class="dl-horizontal">
        <dt>状态：</dt>
        <dd class="m-r">
            <span class="fs12 c-4e">
                <span th:if="${qaType['status']}==1" class="label label-info">正常</span>
                <span th:if="${qaType['status']}==2" class="label label-danger">禁用</span>
                <span th:if="${qaType['status']}==3" class="label label-danger">已删除</span>
            </span>
        </dd>
    </dl>
</div>
</body>
</html>
